﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MastePage/SubEmptyMaster.Master" AutoEventWireup="true" CodeBehind="MaterialSmallTypeEdit.aspx.cs" Inherits="BySoft.Web.Site.MasteData.MaterialSmallTypeEdit" %>

<%@ MasterType VirtualPath="~/MastePage/SubEmptyMaster.master" %>
<%@ Register Assembly="OneSoft.Web" Namespace="OneSoft.Web.UI.WebControls" TagPrefix="asp" %>
<%@ Register Assembly="BySoft.Web.Controls" Namespace="BySoft.Web.Controls" TagPrefix="cc1" %>
<asp:Content ID="cphHeadContent" runat="server" ContentPlaceHolderID="HeadPlace">
</asp:Content>
<asp:Content ID="cphContent" runat="server" ContentPlaceHolderID="EmptyMasteCPH">
    <h1 class="tit">基础资料 >> <a href="MaterialSmallTypeList.aspx">原料小类资料>></a> 编辑</h1>
    <br />
    <div class="tableStyle2">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table border="0" cellspacing="0" cellpadding="0" style="text-align: left; width: 100%"
                    id="tBase" runat="server">
                    <tr>
                        <th class="left2">原料类型：</th>
                        <td class="right2">
                            <asp:DropDownList ID="ddlPartType" runat="server" ></asp:DropDownList>
                            <span style="color: Red">*</span>
                            <asp:RequiredFieldValidator ControlToValidate="ddlPartType" Display="None" ErrorMessage="请输入原料类型！" ID="rfvPartType" ValidationGroup="gSubmit" runat="server"></asp:RequiredFieldValidator></td>
                        <th class="left2"></th>
                        <td class="right2">
                         </td>
                    </tr>
                    <tr>
                        <th class="left2">原料小类编号：</th>
                        <td class="right2">
                            <asp:TextBox ID="lblMaterialSmallTypeID" runat="server" CssClass="fullWidth"></asp:TextBox>
                        </td>
                        <th class="left2">原料小类名称：</th>
                        <td class="right2">
                            <asp:TextBox CssClass="fullWidth" ID="txtMaterialSmallTypeName" runat="server" Width="90%"></asp:TextBox>
                            <span style="color: Red">*</span>
                            <asp:RequiredFieldValidator ControlToValidate="txtMaterialSmallTypeName" Display="None" ErrorMessage="请输入原料小类名称！" ID="RequiredFieldValidator1" ValidationGroup="gSubmit" runat="server"></asp:RequiredFieldValidator>
                        </td>
                    </tr> 
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <div class="controlBar" align="center">
        <table cellpadding="0" cellspacing="0" style="width: 300px; margin: 0 auto;">
            <tr>
                <td colspan="4">
                    <label class="btnStyleb png_bg">
                        <asp:Button ID="btnSubmit" runat="server" Text="确定" ValidationGroup="gSubmit"
                            class="png_bg" OnClick="btnSubmit_Click" />
                    </label>
                    <label class="btnStylec png_bg">
                        <input type="button" id="Button2" value="返回" runat="server" onclick="window.location = 'MaterialSmallTypeList.aspx'"
                            class="png_bg" />
                    </label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>




